Note: There are a few cases of duplicates in user autocompletion which are being worked on.

VS 2012 RC compiler chokes on nsTArray's Init()

RESOLVED FIXED in mozilla16

Status

()

Core
XPCOM
RESOLVED FIXED
5 years ago
a year ago

People

(Reporter: jimm, Assigned: jimm)

Tracking

(Blocks: 1 bug)

Trunk
mozilla16
x86_64
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
crash:

f:\mozilla\firefox\elm-fx-dbg\dist\include\nsTArray.h(1322) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1444)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe.  You will be prompted to send an error report to Microsoft later.
(Assignee)

Updated

5 years ago
Blocks: 687213
Is this in an optimized build?
(Assignee)

Comment 2

5 years ago
Created attachment 629893 [details] [diff] [review]
patch

This only happens in locations where we have component extensions enabled - new compiler functionality which seems to be a bit buggy. I played around with a number of variations, this was the most minimalist change I found.

What I'd like to do is land this on mc and file a follow up bug on testing with the final. If they have this fixed I would then back this change out.
Assignee: nobody → jmathies
Attachment #629893 - Flags: review?(benjamin)
(Assignee)

Comment 3

5 years ago
(In reply to Ehsan Akhgari [:ehsan] from comment #1)
> Is this in an optimized build?

Nope, debug. I have yet to do a full release build. That's next.
Comment on attachment 629893 [details] [diff] [review]
patch

Please add a comment explaining why this is multiple steps so that people wonder why there's more spaghetti than necessary.
Attachment #629893 - Flags: review?(benjamin) → review+
(Assignee)

Updated

5 years ago
Blocks: 747347
(Assignee)

Updated

5 years ago
Blocks: 764362
(Assignee)

Comment 5

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/7f07a489b92a
https://hg.mozilla.org/mozilla-central/rev/7f07a489b92a
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Depends on: 1290646
You need to log in before you can comment on or make changes to this bug.