https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121654
--- Comment #3 from Ivan Lazaric ---
Sounds good, I just rebuilt with the patch from the other bug report, ICE went
away, thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121654
--- Comment #1 from Ivan Lazaric ---
Just noting, I changed the title of the bug because this seems specific to
function arguments, as the following doesn't ICE:
```
void func(){
int arg;
template for (int c : {1}){
arg;
}
}
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121654
Bug ID: 121654
Summary: template for ICE when referencing a variable in
surrounding scope
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121647
--- Comment #2 from Ivan Lazaric ---
Some notes from the standard:
https://eel.is/c++draft/stmt.expand#2
```
The compound-statement of an expansion-statement is a control-flow-limited
statement ([stmt.label]).
```
https://eel.is/c++draft/stmt.l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121647
Bug ID: 121647
Summary: template for: can't contain case labels for
surrounding switch
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119344
Bug ID: 119344
Summary: internal compiler error related to template parameters
and pointers to member functions
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113834
--- Comment #1 from Ivan Lazaric ---
Created attachment 57362
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57362&action=edit
Preprocessed file generated by `-freport-bug`
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113834
Bug ID: 113834
Summary: internal compiler error: in tree_to_shwi, at
tree.cc:6461
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Pri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113826
Bug ID: 113826
Summary: string_view::find sometimes not working in constexpr
contexts under -fsanitize=undefined
Product: gcc
Version: 14.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113154
Bug ID: 113154
Summary: std::views::values not working with rvalue references
to ranges
Product: gcc
Version: 11.4.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109988
--- Comment #3 from Ivan Lazaric ---
Note that clang has the same flags and behaves according to the documentation,
might be some value in matching it.
If it's considered too breaking of a change, I would recommend introducing a
-iwithprefixaft
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109988
--- Comment #1 from Ivan Lazaric ---
In `gcc/c-family/c-opts.cc`:
```
case OPT_iwithprefix:
add_prefixed_path (arg, INC_SYSTEM);
break;
```
Should `INC_SYSTEM` actually be `INC_AFTER` ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109988
Bug ID: 109988
Summary: -iwithprefix doesn't add folder to end of search list
Product: gcc
Version: 11.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109112
Bug ID: 109112
Summary: [missed optimization] odd behaviour with
[[assume(...)]] and member variables
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity:
14 matches
Mail list logo